<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body style="padding:10px;">
<p>说明：
    <span>变量符合小驼峰命名，达到名字即注释的效果</span>
</p>
<br/>
<p>正例：</p>
<div style="margin:10px;padding:10px;border:1px solid #000000;white-space: pre-line;">
 <br/>   // 薪资预警设置
 <br/>   SalaryWarningSetting salaryWarningSetting = new SalaryWarningSetting();
 <br/>   // 是否所有考试完成
 <br/>   boolean isAllExamFinished = false;
 <br/>   // 问题分组
 <br/>   final Map&lt;Long, List&lt;ExamPaperQuestionVO&gt;&gt; questionMap =
 <br/>   questionList.stream().collect(Collectors.groupingBy(ExamPaperQuestionVO::getTopicId));
</div>
<br/>
<p>反例：</p>
<div style="margin:10px;padding:10px;border:1px solid #000000;white-space: pre-line;">
<br/>    // 前端传过来的参数是map
<br/>    HashMap hashMap = JSON.parseObject(rule, HashMap.class);
<br/>    hashMap.forEach((k, v) -&gt; {
<br/>        // 规则详情排序
<br/>        Integer sort = sortMap.get(k);
<br/>        sort = sort == null ? 0 : sort;
<br/>        // ... 此处60行代码
<br/>    });

</div>
</body>
</html>